package com.yunxin.core.infra.persistence.entity.user;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户访问ip信息表
 *
 * @author zero°
 * @since   2023-11-25
 */
public class UserIpInfoDO implements Serializable {
    /**
     * 主键
     */
    private Long id;

    /**
     * 访问者id
     */
    private String ip;

    /**
     * ip
     */
    private String visitorId;

    /**
     * 渠道推广code
     */
    private String channelPromotionCode;

    /**
     * 访问时间
     */
    private Date visitTime;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date editTime;

    /**
     * 版本号
     */
    private Long version;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getVisitorId() {
        return visitorId;
    }

    public void setVisitorId(String visitorId) {
        this.visitorId = visitorId;
    }

    public String getChannelPromotionCode() {
        return channelPromotionCode;
    }

    public void setChannelPromotionCode(String channelPromotionCode) {
        this.channelPromotionCode = channelPromotionCode;
    }

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getEditTime() {
        return editTime;
    }

    public void setEditTime(Date editTime) {
        this.editTime = editTime;
    }

    public Long getVersion() {
        return version;
    }

    public void setVersion(Long version) {
        this.version = version;
    }
}